const NAME_LEN =100;

typedef string nametype<NAME_LEN>;

typedef struct Message *Msg_t; 

struct Message{
	nametype source;
	int student_id;
	nametype student_name;
	int course_id;
	nametype course_name;
	int clearance;
};

program MQ_SEND_PROG {
   version MQ_PROG_VERS {
    int SENDMSG(Msg_t) = 1;
    Msg_t CHECKMSG(nametype) = 2;
   } = 1;
} = 0x20009751;